// exports.ExcelData = void 0;
// var $baseExcel = require("./BaseExcel");
// var $excel = require("./Excel");
// var a = (function () {
//     function e() {}
//     e.loadConfig = function (e, t) {
//         switch (e) {
//             case "addPower":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.addPower);
//                 break;
//             case "bagEquipRule":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.bagEquipRule);
//                 break;
//             case "shopBoxLevel":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.shopBoxLevel);
//                 break;
//             case "shopControl":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.shopControl);
//                 break;
//             case "shuiguoboshu":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.shuiguoboshu);
//                 break;
//             case "shuiguobuff":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.shuiguobuff);
//                 break;
//             case "shuiguocitiao":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.shuiguocitiao);
//                 break;
//             case "shuiguoconfig":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.shuiguoconfig);
//                 break;
//             case "shuiguoguaiwu":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.shuiguoguaiwu);
//                 break;
//             case "shuiguoguanqia":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.shuiguoguanqia);
//                 break;
//             case "shuiguohecheng":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.shuiguohecheng);
//                 break;
//             case "shuiguojineng":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.shuiguojineng);
//                 break;
//             case "shuiguolevel":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.shuiguolevel);
//                 break;
//             case "shuiguoneibulevel":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.shuiguoneibulevel);
//                 break;
//             case "shuiguoqiandao":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.shuiguoqiandao);
//                 break;
//             case "shuiguotianfu":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.shuiguotianfu);
//                 break;
//             case "shuiguotiaozhan":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.shuiguotiaozhan);
//                 break;
//             case "shuiguo":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.shuiguo);
//                 break;
//             case "todayShop":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.todayShop);
//                 break;
//             case "wareHouseControl":
//                 $baseExcel.BaseExcel.loadData(e, t, $excel.wareHouseControl);
//         }
//     };
//     e.addPower = "addPower";
//     e.bagEquipRule = "bagEquipRule";
//     e.shopBoxLevel = "shopBoxLevel";
//     e.shopControl = "shopControl";
//     e.shuiguoboshu = "shuiguoboshu";
//     e.shuiguobuff = "shuiguobuff";
//     e.shuiguocitiao = "shuiguocitiao";
//     e.shuiguoconfig = "shuiguoconfig";
//     e.shuiguoguaiwu = "shuiguoguaiwu";
//     e.shuiguoguanqia = "shuiguoguanqia";
//     e.shuiguohecheng = "shuiguohecheng";
//     e.shuiguojineng = "shuiguojineng";
//     e.shuiguolevel = "shuiguolevel";
//     e.shuiguoneibulevel = "shuiguoneibulevel";
//     e.shuiguoqiandao = "shuiguoqiandao";
//     e.shuiguotianfu = "shuiguotianfu";
//     e.shuiguotiaozhan = "shuiguotiaozhan";
//     e.shuiguo = "shuiguo";
//     e.todayShop = "todayShop";
//     e.wareHouseControl = "wareHouseControl";
//     e.allFiles = [
//         "addPower",
//         "bagEquipRule",
//         "shopBoxLevel",
//         "shopControl",
//         "shuiguoboshu",
//         "shuiguobuff",
//         "shuiguocitiao",
//         "shuiguoconfig",
//         "shuiguoguaiwu",
//         "shuiguoguanqia",
//         "shuiguohecheng",
//         "shuiguojineng",
//         "shuiguolevel",
//         "shuiguoneibulevel",
//         "shuiguoqiandao",
//         "shuiguotianfu",
//         "shuiguotiaozhan",
//         "shuiguo",
//         "todayShop",
//         "wareHouseControl"
//     ];
//     return e;
// })();
// exports.ExcelData = a;
// 导入所需的模块
import { BaseExcel } from "./BaseExcel";
import { AddPower, BagEquipRule, Excel, ShopBoxLevel, ShopControl, Shuiguo, ShuiguoBoshu, ShuiguoBuff, ShuiguoCitiao, ShuiguoConfig, ShuiguoGuaiwu, ShuiguoGuanqia, ShuiguoHecheng, ShuiguoJineng, ShuiguoLevel, ShuiguoNeibulevel, ShuiguoQiandao, ShuiguoTianfu, ShuiguoTiaozhan, TodayShop, WareHouseControl } from "./Excel";
/**
 * ExcelData 类，用于加载不同类型的 Excel 配置数据
 * @suggestedName ExcelDataLoader
 */
class ExcelData {
    static addPower: string = "addPower";
    static bagEquipRule: string = "bagEquipRule";
    static shopBoxLevel: string = "shopBoxLevel";
    static shopControl: string = "shopControl";
    static shuiguoboshu: string = "shuiguoboshu";
    static shuiguobuff: string = "shuiguobuff";
    static shuiguocitiao: string = "shuiguocitiao";
    static shuiguoconfig: string = "shuiguoconfig";
    static shuiguoguaiwu: string = "shuiguoguaiwu";
    static shuiguoguanqia: string = "shuiguoguanqia";
    static shuiguohecheng: string = "shuiguohecheng";
    static shuiguojineng: string = "shuiguojineng";
    static shuiguolevel: string = "shuiguolevel";
    static shuiguoneibulevel: string = "shuiguoneibulevel";
    static shuiguoqiandao: string = "shuiguoqiandao";
    static shuiguotianfu: string = "shuiguotianfu";
    static shuiguotiaozhan: string = "shuiguotiaozhan";
    static shuiguo: string = "shuiguo";
    static todayShop: string = "todayShop";
    static wareHouseControl: string = "wareHouseControl";
    static allFiles: string[] = [
        "addPower",
        "bagEquipRule",
        "shopBoxLevel",
        "shopControl",
        "shuiguoboshu",
        "shuiguobuff",
        "shuiguocitiao",
        "shuiguoconfig",
        "shuiguoguaiwu",
        "shuiguoguanqia",
        "shuiguohecheng",
        "shuiguojineng",
        "shuiguolevel",
        "shuiguoneibulevel",
        "shuiguoqiandao",
        "shuiguotianfu",
        "shuiguotiaozhan",
        "shuiguo",
        "todayShop",
        "wareHouseControl"
    ];

    /**
     * 加载配置数据
     * @param configName 配置名称
     * @param data 回调函数
     * @suggestedName loadConfiguration
     */
    static loadConfig(configName: string, data: any): void {
        switch (configName) {
            case "addPower":
                BaseExcel.loadData(configName, data, AddPower);
                break;
            case "bagEquipRule":
                BaseExcel.loadData(configName, data, BagEquipRule);
                break;
            case "shopBoxLevel":
                BaseExcel.loadData(configName, data, ShopBoxLevel);
                break;
            case "shopControl":
                BaseExcel.loadData(configName, data, ShopControl);
                break;
            case "shuiguoboshu":
                BaseExcel.loadData(configName, data, ShuiguoBoshu);
                break;
            case "shuiguobuff":
                BaseExcel.loadData(configName, data, ShuiguoBuff);
                break;
            case "shuiguocitiao":
                BaseExcel.loadData(configName, data, ShuiguoCitiao);
                break;
            case "shuiguoconfig":
                BaseExcel.loadData(configName, data, ShuiguoConfig);
                break;
            case "shuiguoguaiwu":
                BaseExcel.loadData(configName, data, ShuiguoGuaiwu);
                break;
            case "shuiguoguanqia":
                BaseExcel.loadData(configName, data, ShuiguoGuanqia);
                break;
            case "shuiguohecheng":
                BaseExcel.loadData(configName, data, ShuiguoHecheng);
                break;
            case "shuiguojineng":
                BaseExcel.loadData(configName, data, ShuiguoJineng);
                break;
            case "shuiguolevel":
                BaseExcel.loadData(configName, data, ShuiguoLevel);
                break;
            case "shuiguoneibulevel":
                BaseExcel.loadData(configName, data, ShuiguoNeibulevel);
                break;
            case "shuiguoqiandao":
                BaseExcel.loadData(configName, data, ShuiguoQiandao);
                break;
            case "shuiguotianfu":
                BaseExcel.loadData(configName, data, ShuiguoTianfu);
                break;
            case "shuiguotiaozhan":
                BaseExcel.loadData(configName, data, ShuiguoTiaozhan);
                break;
            case "shuiguo":
                BaseExcel.loadData(configName, data, Shuiguo);
                break;
            case "todayShop":
                BaseExcel.loadData(configName, data, TodayShop);
                break;
            case "wareHouseControl":
                BaseExcel.loadData(configName, data, WareHouseControl);
                break;
            default:
                console.error(`Unknown config name: ${configName}`);
        }
    }
}

// 导出 ExcelData 类
export { ExcelData };